package org.paradise.pojo;

import java.io.Serializable;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;

public class Shopping implements Serializable {
    private Integer id;  //商品id
    private Integer typeid;  //商品类型id
    private String name;  //商品名称
    private Integer price;  //商品价格
    private Integer num;  //商品数量
    private Integer total;    //商品库存

    private ShoppingType shoppingType;

    public ShoppingType getShoppingType() {
        return shoppingType;
    }

    public void setShoppingType(ShoppingType shoppingType) {
        this.shoppingType = shoppingType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
